package com.tju.ocean_ecology_website.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 团队成员表(TeamMember)实体类
 *
 * @author shaolong
 * @since 2025-04-29 19:34:20
 */
public class TeamMember implements Serializable {
    private static final long serialVersionUID = 945387245320846611L;
/**
     * 团队成员ID
     */
    private Long id;
/**
     * 团队ID
     */
    private Long teamId;
/**
     * 用户ID
     */
    private Long userId;
/**
     * 加入时间
     */
    private Date joinTime;
/**
     * 成员角色：0-领导者, 1-管理员, 2-普通成员
     */
    private Integer role;
/**
     * 成员状态：0-活跃, 1-非活跃
     */
    private Integer status;

/**
     * 审核状态：0-待审核, 1-已通过, 2-已拒绝
     */
    private Integer auditStatus;

/**
     * 拒绝原因
     */
    private String rejectReason;

/**
     * 邀请码
     */
    private String inviteCode;

/**
     * 邀请过期时间
     */
    private Date inviteExpireTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTeamId() {
        return teamId;
    }

    public void setTeamId(Long teamId) {
        this.teamId = teamId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getJoinTime() {
        return joinTime;
    }

    public void setJoinTime(Date joinTime) {
        this.joinTime = joinTime;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Integer auditStatus) {
        this.auditStatus = auditStatus;
    }

    public String getRejectReason() {
        return rejectReason;
    }

    public void setRejectReason(String rejectReason) {
        this.rejectReason = rejectReason;
    }

    public String getInviteCode() {
        return inviteCode;
    }

    public void setInviteCode(String inviteCode) {
        this.inviteCode = inviteCode;
    }

    public Date getInviteExpireTime() {
        return inviteExpireTime;
    }

    public void setInviteExpireTime(Date inviteExpireTime) {
        this.inviteExpireTime = inviteExpireTime;
    }
}

